import request from '@/utils/request'

// 查询康复指导列表
export function listRecoveryGuide(query) {
  return request({
    url: '/business/recoveryGuide/list',
    method: 'get',
    params: query
  })
}

// 查询康复指导详细
export function getRecoveryGuide(id) {
  return request({
    url: '/business/recoveryGuide/' + id,
    method: 'get'
  })
}

// 新增康复指导
export function addRecoveryGuide(data) {
  return request({
    url: '/business/recoveryGuide',
    method: 'post',
    data: data
  })
}

// 修改康复指导
export function updateRecoveryGuide(data) {
  return request({
    url: '/business/recoveryGuide',
    method: 'put',
    data: data
  })
}

// 删除康复指导
export function delRecoveryGuide(id) {
  return request({
    url: '/business/recoveryGuide/' + id,
    method: 'delete'
  })
}
